<?php

namespace app\admin\model\union;
use think\Model;

class TmpSetting extends Model
{
    protected $table = 't_tmp_setting';
    protected $connection="database.user";
    protected $resultSetType = 'collection';
    public static function getConf($key = ''){
        if (!$key)return '';
        return self::where('setting_type',$key)->value('setting_value');
    }
}